package org.qloudgen.borg.metadb;

public interface ConfigNames {

	/*
	 * Cluster
	 */
	public static final String SELECT_CLUSTER_LIST = "selectClusterList";
	public static final String SELECT_CLUSTER_COUNT = "selectClusterCount";
	public static final String SELECT_CLUSTERID = "selectClusterID";
	public static final String SELECT_CLUSTER_INFO = "selectClusterInfo";
	public static final String SELECT_CLUSTER_RUNNING_TASK_NUMBER = "selectClusterRunningTaskNumber";
	
	public static final String INSERT_CLUSTER = "insertCluster";
	
	public static final String UPDATE_CLUSTER_AVAILABLE = "updateClusterAvailable";
	public static final String UPDATE_CLUSTER_STATUS = "updateClusterStatus";
	public static final String UPDATE_CLUSTER = "updateCluster";

	public static final String DELETE_CLUSTER = "deleteCluster";
	public static final String DELETE_CLUSTER_NODE = "deleteClusterNode";
	public static final String DELETE_CLUSTER_CONF = "deleteClusterConf";
	
	/*
	 * USER
	 */
	public static final String IS_EXISTS_USER = "isExistsUser";
	public static final String CHECK_USER = "checkUser";
	public static final String SELECT_USER = "selectUser";
	public static final String SELECT_USER_LIST = "selectUserList";
	public static final String SELECT_USER_FUNC_RIGHTS = "selectUserFuncRights";
	
	public static final String INSERT_USER = "insertUser";
	public static final String INSERT_USER_RIGHT = "insertUserRight";
	
	public static final String UPDATE_USER_STATUS = "updateUserStatus";
	public static final String UPDATE_USER_PASSWORD = "updateUserPassword";
	
	public static final String DELETE_USER_RIGHTS = "deleteUserRights";
	public static final String DELETE_USER = "deleteUser";
	
	/*
	 * others
	 */
	public static final String SELECT_DICTS = "selectDicts";
	public static final String SELECT_MENUNODES = "selectMenunodes";
	
	/*
	 * cache
	 */
	public static final String SELECT_CACHE = "selectCache";
	public static final String SELECT_CACHE_INFO = "selectCacheInfo";
	public static final String SELECT_CACHEID = "selectCacheID";
	public static final String INSERT_TASK_CACHE = "insertTaskCache";
	public static final String DELETE_CACHE_BY_FUNC = "deleteCacheByFunc";
	public static final String DELETE_CACHE_BY_TASK = "deleteCacheByTask";
	
	/*
	 * app
	 */
	public static final String SELECT_APP_LIST = "selectAppList";
	public static final String SELECT_APP_COUNT = "selectAppCount";
	public static final String SELECT_APPID = "selectAppID";
	public static final String SELECT_APP_CLUSTER = "selectAppCluster";
	public static final String SELECT_APP_CLUSTER_LIST = "selectAppClusterList";
	
	public static final String INSERT_APP = "insertApp";
	public static final String INSERT_APP_CLUSTER = "insertAppCluster";
	
	public static final String DELETE_APP = "deleteApp";
	public static final String DELETE_APP_CLUSTER = "deleteAppCluster";
	public static final String DELETE_APP_FUNC = "deleteAppFunc";
	public static final String DELETE_APP_FUNC_PARAMETER = "deleteAppFuncParameter";
	public static final String DELETE_APP_FUNC_RESULT = "deleteAppFuncResult";
	
	/*
	 * func
	 */
	public static final String SELECT_FUNC_LIST =  "selectFuncList";
	public static final String SELECT_APPFUNCID = "selectAppFuncID";
	public static final String SELECT_FUNC_PARAM_LIST = "selectAppFuncParameter";
	public static final String SELECT_FUNC_COLUMN_LIST = "selectAppFuncResult";
	public static final String SELECT_ALL_FUNC_LIST = "selectAllFuncList";
	public static final String SELECT_FUNC = "selectFunc";
	
	public static final String INSERT_APP_FUNC = "insertAppFunc";
	public static final String INSERT_APP_FUNC_PARAM = "insertAppFuncParameter";
	public static final String INSERT_APP_FUNC_RESULT = "insertAppFuncResult";
	
	public static final String UPDATE_APP_FUNC_STATUS = "updateAppFuncStatus";
	public static final String UPDATE_FUNC = "updateAppFunc";

	public static final String DELETE_FUNC = "deleteFunc";
	public static final String DELETE_FUNC_PARAMETER = "deleteFuncParameter";
	public static final String DELETE_FUNC_RESULT = "deleteFuncResult";
	
	/*
	 * dataSource
	 */
	public static final String SELECT_DATASOURCES = "selectDataSources";
	public static final String SELECT_FUNC_DATASOURCES = "selectFuncDataSources";
	public static final String SELECT_DATASOURCE_FUNCS = "selectDataSourceFuncs";
	public static final String SELECT_DATASOURCEID = "selectDataSourceID";
	public static final String SELECT_DS_AVAILABLE_FUNCS = "selectDSAvailableFuncs";
	public static final String INSERT_DATASOURCE = "insertDataSource";
	public static final String INSERT_DATASOURCE_FUNC = "insertDataSourceFunc";
	public static final String UPDATE_DATASOURCE_STATUS = "updateDataSourceStatus";
	public static final String UPDATE_DATASOURCE_FUNC_STATUS = "updateDataSourceFuncStatus";
	public static final String DELETE_DATASOURCE = "deleteDataSource";
	public static final String DELETE_DS_FUNC = "deleteDataSourceFunc";
	
	/*
	 * task
	 */
	public static final String SELECT_TASKID = "selectTaskID";
	public static final String SELECT_USER_RUNNING_TASK_NUMBER = "selectUserRunningTaskNumber";
	public static final String SELECT_CFD_TASK_NUMBER = "selectCFDTaskNumber";
	public static final String SELECT_CFD_RELOAD_TASK_NUMBER = "selectCFDReloadTaskNumber";
	public static final String SELECT_TASKS = "selectTasks";
	public static final String SELECT_TASK_NEW_LOG = "selectTaskNewLog";
	public static final String SELECT_SAME_TASK = "selectSameTask";
	public static final String INSERT_TASK = "insertTask";
	public static final String INSERT_TASK_LOG = "insertTaskLog";
	public static final String INSERT_TASK_JOB = "insertTaskJob";
	public static final String UPDATE_TASK_STATUS = "updateTaskStatus";
	public static final String DELETE_TASK_LOG = "deleteTaskLog";
	public static final String DELETE_TASK_JOB = "deleteTaskJob";
	public static final String CLEAR_TASK_LOG = "clearTaskLog";
}
